package com.photographysharing.response;

public class DataResponse<T> extends MessageResponse {
    private T Data;

    public DataResponse(){
        super();
    }
    public DataResponse(T data){
        super();
        Data = data;
    }
    public DataResponse(T data,String msg){
        super(msg);
        Data = data;
    }
    public DataResponse(int code,String msg,boolean b){
        super(code,msg,b);
    }
    public DataResponse(String msg){
        super(msg);
    }

    public T getData() {
        return Data;
    }

    public void setData(T data) {
        Data = data;
    }
}
